package esb.chapter9.restaurant.routing.camel;

import org.apache.camel.builder.RouteBuilder;

public class YokohamaExpirationRouter extends RouteBuilder {
	
	private final static String SERVICE_IN = RestaurantRouter.JBI_PREFIX + 
		"/yokohamaDSLRouter";
	private final static String YOKOHAMA_IN = RestaurantRouter.JBI_PREFIX + 
		"/yokohamaComponent";
	
	public void configure() {
		from(SERVICE_IN).process(new InOutProcessor())
			.to(YOKOHAMA_IN).process(new ExpirationProcessor());
	}

}
